package com.cencus.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cencus.domain.Record;

import java.util.List;

public interface RecordService {
    Record createRecord(Record record);

    Record updateRecord(Record record);

    boolean deleteRecord(Integer record_id);

    List<Record> getAllRecord();

    Record getRecordById(Integer recordId);
    IPage<Record> selectRecordWithTagsPage(Page<Record> page, QueryWrapper<Record> wrapper);
}
